package com.elitesland.b2c.com.vo.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * .
 *
 * @author Kaiser（wang shao）
 * @date 2021-03-07
 */
@ApiModel(description = "地区的树形结构数据")
@Data
public class ComAreaTreeRespVO implements Serializable {
    private static final long serialVersionUID = 5900843701298551709L;

    @ApiModelProperty("区域ID")
    private Long id;

    @ApiModelProperty(value = "上级区域ID", hidden = true)
    private Long parentId;

    @ApiModelProperty("区域名称")
    private String name;

    @ApiModelProperty("排序")
    private Integer sortNum;

    @ApiModelProperty("子节点列表")
    private List<ComAreaTreeRespVO> children;

}
